package com.wc5818.wcOrderDetail.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2020-02-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class WcOrderDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 关联的订单号
     */
    @TableField("orderId")
    private String orderId;

    /**
     * 具体的商品规格Id
     */
    @TableField("skuId")
    private Long skuId;

    private Float price;

    /**
     * 商品数量
     */
    private Integer amount;

    @TableField("createTime")
    private LocalDateTime createTime;

    @TableField("updateTime")
    private LocalDateTime updateTime;


}
